import index from "./index.vue";
import Vue from "@/mixins/main.js";
import router from "./router";
import store from "@/store";

Vue.config.productionTip = false;
import BreadCrumb from "_c/breadCrumb/breadCrumb.vue";
Vue.component("BreadCrumb", BreadCrumb);
import TabList from "_c/tabList/tabList.vue";
Vue.component("TabList", TabList);

import {
  Input,
  Select,
  Option,
  CheckboxGroup,
  Checkbox,
  Page,
  RadioGroup,
  Radio,
  Modal,
  Tooltip,
  Spin,
  Icon,
  Table,
} from "view-design";
Vue.component("Input", Input);
Vue.component("Select", Select);
Vue.component("Option", Option);
Vue.component("CheckboxGroup", CheckboxGroup);
Vue.component("Checkbox", Checkbox);
Vue.component("Page", Page);
Vue.component("RadioGroup", RadioGroup);
Vue.component("Radio", Radio);
Vue.component("Modal", Modal);
Vue.component("Tooltip", Tooltip);
Vue.component("i-Spin", Spin);
Vue.component("Icon", Icon);
Vue.component("Table", Table);
import moment from "moment";
import _ from "lodash";
Vue.prototype.$Modal = Modal;
Vue.prototype.$moment = moment;
Vue.prototype._ = _;
import "view-design/dist/styles/iview.css";

export default new Vue({
  el: "#app",
  router,
  store,
  render: (h) => h(index),
});
